package com.qf.flash.mvp.contract;

import com.qf.flash.http.response.BusinessInfoBean;
import com.qf.flash.model.CommentBean;
import com.qf.flashlib.base.IPresenter;
import com.qf.flashlib.base.IView;

import java.util.List;

/**
 * 商家详情
 * 2020/3/26 14:20
 */
public class BusinessDetContract {
    public interface View extends IView{
        void setBusinessData(BusinessInfoBean info);
        void setCollected();
        void setResponseList(List<CommentBean> commentBeans, int totalPage);
        void cancelCollectSuccess();
    }

    public interface Presenter extends IPresenter<View> {
        void getBusinessDetail(String shopId);
        void collectShop(String shopId);
        void deleteCollectShop(String shopIds);
        void getResponseList(String shopId, int pageNo);
    }
}
